<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的项目 - YOLO Vision AI Platform</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    
    <!-- Tailwind配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#36CFC9',
                        success: '#52C41A',
                        warning: '#FAAD14',
                        danger: '#FF4D4F',
                        dark: '#1D2129',
                        'dark-2': '#4E5969',
                        'light-1': '#F2F3F5',
                        'light-2': '#E5E6EB',
                        'light-3': '#C9CDD4'
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                    boxShadow: {
                        'card': '0 2px 8px rgba(0, 0, 0, 0.08)',
                        'dropdown': '0 4px 16px rgba(0, 0, 0, 0.12)',
                        'hover': '0 4px 12px rgba(22, 93, 255, 0.15)',
                    }
                },
            }
        }
    </script>
    
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .text-gradient {
                background-clip: text;
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
            .transition-all-300 {
                transition: all 300ms ease-in-out;
            }
            .card-hover {
                @apply hover:shadow-hover hover:-translate-y-0.5 transition-all-300;
            }
        }
    </style>
</head>
<body class="font-inter bg-gray-50 text-dark">
    <!-- 主内容区域 -->
    <div class="p-6">
        <!-- 页面标题和操作区 -->
        <div class="mb-6 flex flex-col md:flex-row md:items-center md:justify-between gap-4">
            <div>
                <h1 class="text-[clamp(1.5rem,3vw,2rem)] font-bold text-dark">我的项目</h1>
                <p class="text-dark-2 mt-1">管理和查看所有项目的状态与进度</p>
            </div>
            
            <div class="flex space-x-3">
                <button class="bg-white text-primary border border-primary px-4 py-2 rounded-lg hover:bg-primary/5 transition-all-300 font-medium flex items-center">
                    <i class="fa fa-filter mr-2"></i> 筛选
                </button>
                <button class="bg-white text-primary border border-primary px-4 py-2 rounded-lg hover:bg-primary/5 transition-all-300 font-medium flex items-center">
                    <i class="fa fa-download mr-2"></i> 导出
                </button>
                <button class="bg-primary text-white px-5 py-2 rounded-lg hover:bg-primary/90 transition-all-300 font-medium flex items-center">
                    <i class="fa fa-plus mr-2"></i> 新建项目
                </button>
            </div>
        </div>
        
        <!-- 项目概览卡片 -->
        <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
            <!-- 卡片1：总项目数 -->
            <div class="bg-white rounded-xl shadow-card p-5 card-hover">
                <div class="flex items-start justify-between">
                    <div>
                        <p class="text-dark-2 text-sm mb-1">总项目数</p>
                        <h3 class="text-2xl font-bold">12</h3>
                    </div>
                    <div class="w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center">
                        <i class="fa fa-briefcase text-primary"></i>
                    </div>
                </div>
                <div class="mt-4 flex items-center">
                    <span class="text-xs text-success flex items-center">
                        <i class="fa fa-arrow-up mr-1"></i> 12%
                    </span>
                    <span class="text-xs text-dark-2 ml-2">相比上月</span>
                </div>
            </div>
            
            <!-- 卡片2：进行中 -->
            <div class="bg-white rounded-xl shadow-card p-5 card-hover">
                <div class="flex items-start justify-between">
                    <div>
                        <p class="text-dark-2 text-sm mb-1">进行中</p>
                        <h3 class="text-2xl font-bold">4</h3>
                    </div>
                    <div class="w-10 h-10 rounded-lg bg-warning/10 flex items-center justify-center">
                        <i class="fa fa-cogs text-warning"></i>
                    </div>
                </div>
                <div class="mt-4 flex items-center">
                    <span class="text-xs text-warning flex items-center">
                        <i class="fa fa-minus mr-1"></i> 0%
                    </span>
                    <span class="text-xs text-dark-2 ml-2">相比上月</span>
                </div>
            </div>
            
            <!-- 卡片3：已完成 -->
            <div class="bg-white rounded-xl shadow-card p-5 card-hover">
                <div class="flex items-start justify-between">
                    <div>
                        <p class="text-dark-2 text-sm mb-1">已完成</p>
                        <h3 class="text-2xl font-bold">7</h3>
                    </div>
                    <div class="w-10 h-10 rounded-lg bg-success/10 flex items-center justify-center">
                        <i class="fa fa-check-circle text-success"></i>
                    </div>
                </div>
                <div class="mt-4 flex items-center">
                    <span class="text-xs text-success flex items-center">
                        <i class="fa fa-arrow-up mr-1"></i> 16.7%
                    </span>
                    <span class="text-xs text-dark-2 ml-2">相比上月</span>
                </div>
            </div>
            
            <!-- 卡片4：已暂停 -->
            <div class="bg-white rounded-xl shadow-card p-5 card-hover">
                <div class="flex items-start justify-between">
                    <div>
                        <p class="text-dark-2 text-sm mb-1">已暂停</p>
                        <h3 class="text-2xl font-bold">1</h3>
                    </div>
                    <div class="w-10 h-10 rounded-lg bg-dark-2/10 flex items-center justify-center">
                        <i class="fa fa-pause-circle text-dark-2"></i>
                    </div>
                </div>
                <div class="mt-4 flex items-center">
                    <span class="text-xs text-danger flex items-center">
                        <i class="fa fa-arrow-down mr-1"></i> 50%
                    </span>
                    <span class="text-xs text-dark-2 ml-2">相比上月</span>
                </div>
            </div>
        </div>
        
        <!-- 搜索和筛选区 -->
        <div class="bg-white rounded-xl shadow-card p-5 mb-6">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                <!-- 搜索框 -->
                <div class="relative">
                    <input type="text" placeholder="搜索项目名称或ID" 
                           class="w-full pl-10 pr-4 py-2 border border-light-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all-300">
                    <i class="fa fa-search absolute left-3 top-1/2 -translate-y-1/2 text-dark-2"></i>
                </div>
                
                <!-- 项目状态筛选 -->
                <select class="w-full pl-4 pr-10 py-2 border border-light-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all-300 appearance-none bg-white relative">
                    <option value="all">所有状态</option>
                    <option value="active">进行中</option>
                    <option value="completed">已完成</option>
                    <option value="paused">已暂停</option>
                    <option value="scheduled">计划中</option>
                </select>
                
                <!-- 项目类型筛选 -->
                <select class="w-full pl-4 pr-10 py-2 border border-light-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all-300 appearance-none bg-white">
                    <option value="all">所有类型</option>
                    <option value="detection">目标检测</option>
                    <option value="classification">图像分类</option>
                    <option value="segmentation">图像分割</option>
                    <option value="recognition">目标识别</option>
                </select>
            </div>
            
            <div class="flex flex-wrap items-center justify-between mt-4 pt-4 border-t border-light-1">
                <div class="flex items-center space-x-4 mb-4 md:mb-0">
                    <div class="flex items-center space-x-2">
                        <input type="checkbox" id="filter-favorites" class="rounded text-primary focus:ring-primary/30">
                        <label for="filter-favorites" class="text-sm">仅显示收藏项目</label>
                    </div>
                    <div class="flex items-center space-x-2">
                        <input type="checkbox" id="filter-my-projects" class="rounded text-primary focus:ring-primary/30">
                        <label for="filter-my-projects" class="text-sm">仅显示我创建的</label>
                    </div>
                </div>
                
                <div class="flex items-center space-x-3">
                    <span class="text-sm text-dark-2">排序方式：</span>
                    <select class="pl-3 pr-8 py-1.5 border border-light-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all-300 appearance-none bg-white text-sm">
                        <option value="latest">最新创建</option>
                        <option value="updated">最近更新</option>
                        <option value="progress">进度优先</option>
                        <option value="name">名称排序</option>
                    </select>
                </div>
            </div>
        </div>
        
        <!-- 项目列表 -->
        <div class="bg-white rounded-xl shadow-card overflow-hidden mb-6">
            <div class="overflow-x-auto">
                <table class="w-full">
                    <thead>
                        <tr class="bg-light-1 text-left">
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">项目名称</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">项目类型</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">状态</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">创建时间</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">截止日期</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">进度</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">负责人</th>
                            <th class="px-6 py-3 text-dark-2 font-medium text-sm">操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!-- 项目1 -->
                        <tr class="border-t border-light-1 hover:bg-light-1/50 transition-all-300">
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-3">
                                    <div class="w-8 h-8 rounded-md bg-primary/10 flex items-center justify-center">
                                        <i class="fa fa-eye text-primary"></i>
                                    </div>
                                    <div>
                                        <p class="font-medium"><a href="project_detail.html?id=1" class="hover:text-primary transition-all-300">智能安防检测</a></p>
                                        <p class="text-xs text-dark-2">#PRJ-2023-001</p>
                                    </div>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-primary/10 text-primary">目标检测</span>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-warning/10 text-warning">进行中</span>
                            </td>
                            <td class="px-6 py-4 text-sm">2023-05-18</td>
                            <td class="px-6 py-4 text-sm">2023-07-30</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <div class="w-24 bg-light-1 rounded-full h-2">
                                        <div class="bg-primary h-2 rounded-full" style="width: 65%"></div>
                                    </div>
                                    <span class="text-xs font-medium">65%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <img src="https://picsum.photos/id/1005/100/100" alt="张工程师" class="w-6 h-6 rounded-full">
                                    <span class="text-sm">张工程师</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <button class="text-primary hover:text-primary/80 transition-all-300">
                                        <i class="fa fa-pencil"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-danger transition-all-300">
                                        <i class="fa fa-trash-o"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-primary transition-all-300">
                                        <i class="fa fa-star-o"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        
                        <!-- 项目2 -->
                        <tr class="border-t border-light-1 hover:bg-light-1/50 transition-all-300">
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-3">
                                    <div class="w-8 h-8 rounded-md bg-secondary/10 flex items-center justify-center">
                                        <i class="fa fa-car text-secondary"></i>
                                    </div>
                                    <div>
                                        <p class="font-medium"><a href="project_detail.html?id=2" class="hover:text-primary transition-all-300">车辆识别系统</a></p>
                                        <p class="text-xs text-dark-2">#PRJ-2023-002</p>
                                    </div>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-secondary/10 text-secondary">图像分类</span>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-warning/10 text-warning">进行中</span>
                            </td>
                            <td class="px-6 py-4 text-sm">2023-06-02</td>
                            <td class="px-6 py-4 text-sm">2023-08-15</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <div class="w-24 bg-light-1 rounded-full h-2">
                                        <div class="bg-primary h-2 rounded-full" style="width: 35%"></div>
                                    </div>
                                    <span class="text-xs font-medium">35%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <img src="https://picsum.photos/id/1001/100/100" alt="李工程师" class="w-6 h-6 rounded-full">
                                    <span class="text-sm">李工程师</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <button class="text-primary hover:text-primary/80 transition-all-300">
                                        <i class="fa fa-pencil"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-danger transition-all-300">
                                        <i class="fa fa-trash-o"></i>
                                    </button>
                                    <button class="text-warning hover:text-primary transition-all-300">
                                        <i class="fa fa-star"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        
                        <!-- 项目3 -->
                        <tr class="border-t border-light-1 hover:bg-light-1/50 transition-all-300">
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-3">
                                    <div class="w-8 h-8 rounded-md bg-success/10 flex items-center justify-center">
                                        <i class="fa fa-road text-success"></i>
                                    </div>
                                    <div>
                                        <p class="font-medium"><a href="project_detail.html?id=3" class="hover:text-primary transition-all-300">交通标志检测与识别</a></p>
                                        <p class="text-xs text-dark-2">#PRJ-2023-003</p>
                                    </div>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-success/10 text-success">组合任务</span>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-success/10 text-success">已完成</span>
                            </td>
                            <td class="px-6 py-4 text-sm">2023-04-10</td>
                            <td class="px-6 py-4 text-sm">2023-06-01</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <div class="w-24 bg-light-1 rounded-full h-2">
                                        <div class="bg-success h-2 rounded-full" style="width: 100%"></div>
                                    </div>
                                    <span class="text-xs font-medium">100%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <img src="https://picsum.photos/id/1002/100/100" alt="王工程师" class="w-6 h-6 rounded-full">
                                    <span class="text-sm">王工程师</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <button class="text-primary hover:text-primary/80 transition-all-300">
                                        <i class="fa fa-pencil"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-danger transition-all-300">
                                        <i class="fa fa-trash-o"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-primary transition-all-300">
                                        <i class="fa fa-star-o"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        
                        <!-- 项目4 -->
                        <tr class="border-t border-light-1 hover:bg-light-1/50 transition-all-300">
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-3">
                                    <div class="w-8 h-8 rounded-md bg-danger/10 flex items-center justify-center">
                                        <i class="fa fa-fire text-danger"></i>
                                    </div>
                                    <div>
                                        <p class="font-medium"><a href="project_detail.html?id=4" class="hover:text-primary transition-all-300">火灾与烟雾检测系统</a></p>
                                        <p class="text-xs text-dark-2">#PRJ-2023-004</p>
                                    </div>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-primary/10 text-primary">目标检测</span>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-warning/10 text-warning">进行中</span>
                            </td>
                            <td class="px-6 py-4 text-sm">2023-06-15</td>
                            <td class="px-6 py-4 text-sm">2023-09-01</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <div class="w-24 bg-light-1 rounded-full h-2">
                                        <div class="bg-primary h-2 rounded-full" style="width: 15%"></div>
                                    </div>
                                    <span class="text-xs font-medium">15%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <img src="https://picsum.photos/id/1003/100/100" alt="刘工程师" class="w-6 h-6 rounded-full">
                                    <span class="text-sm">刘工程师</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <button class="text-primary hover:text-primary/80 transition-all-300">
                                        <i class="fa fa-pencil"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-danger transition-all-300">
                                        <i class="fa fa-trash-o"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-primary transition-all-300">
                                        <i class="fa fa-star-o"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                        
                        <!-- 项目5 -->
                        <tr class="border-t border-light-1 hover:bg-light-1/50 transition-all-300">
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-3">
                                    <div class="w-8 h-8 rounded-md bg-dark-2/10 flex items-center justify-center">
                                        <i class="fa fa-medkit text-dark-2"></i>
                                    </div>
                                    <div>
                                        <p class="font-medium"><a href="project_detail.html?id=5" class="hover:text-primary transition-all-300">医疗影像分析平台</a></p>
                                        <p class="text-xs text-dark-2">#PRJ-2023-005</p>
                                    </div>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-secondary/10 text-secondary">图像分类</span>
                            </td>
                            <td class="px-6 py-4">
                                <span class="px-2 py-1 text-xs rounded-full bg-dark-2/10 text-dark-2">已暂停</span>
                            </td>
                            <td class="px-6 py-4 text-sm">2023-05-25</td>
                            <td class="px-6 py-4 text-sm">2023-08-25</td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <div class="w-24 bg-light-1 rounded-full h-2">
                                        <div class="bg-dark-2 h-2 rounded-full" style="width: 40%"></div>
                                    </div>
                                    <span class="text-xs font-medium">40%</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <img src="https://picsum.photos/id/1004/100/100" alt="陈工程师" class="w-6 h-6 rounded-full">
                                    <span class="text-sm">陈工程师</span>
                                </div>
                            </td>
                            <td class="px-6 py-4">
                                <div class="flex items-center space-x-2">
                                    <button class="text-primary hover:text-primary/80 transition-all-300">
                                        <i class="fa fa-pencil"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-danger transition-all-300">
                                        <i class="fa fa-trash-o"></i>
                                    </button>
                                    <button class="text-dark-2 hover:text-primary transition-all-300">
                                        <i class="fa fa-star-o"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            
            <!-- 分页 -->
            <div class="px-6 py-4 border-t border-light-1 flex flex-col sm:flex-row items-center justify-between">
                <div class="text-sm text-dark-2 mb-4 sm:mb-0">
                    显示 <span class="font-medium">1-5</span> 条，共 <span class="font-medium">12</span> 条记录
                </div>
                
                <div class="flex items-center space-x-1">
                    <button class="w-8 h-8 flex items-center justify-center rounded-md border border-light-2 text-dark-2 hover:border-primary hover:text-primary transition-all-300" disabled>
                        <i class="fa fa-angle-left"></i>
                    </button>
                    <button class="w-8 h-8 flex items-center justify-center rounded-md border border-primary bg-primary text-white">1</button>
                    <button class="w-8 h-8 flex items-center justify-center rounded-md border border-light-2 hover:border-primary hover:text-primary transition-all-300">2</button>
                    <button class="w-8 h-8 flex items-center justify-center rounded-md border border-light-2 hover:border-primary hover:text-primary transition-all-300">3</button>
                    <button class="w-8 h-8 flex items-center justify-center rounded-md border border-light-2 text-dark-2 hover:border-primary hover:text-primary transition-all-300">
                        <i class="fa fa-angle-right"></i>
                    </button>
                </div>
            </div>
        </div>
        
        <!-- 快速创建项目卡片 -->
        <div class="bg-white rounded-xl shadow-card p-6">
            <h2 class="text-lg font-bold mb-4">快速创建项目</h2>
            
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
                <!-- 模板1 -->
                <div class="border border-light-2 rounded-xl p-4 cursor-pointer hover:border-primary hover:bg-primary/5 transition-all-300 group">
                    <div class="w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center mb-3 group-hover:bg-primary group-hover:text-white transition-all-300">
                        <i class="fa fa-eye"></i>
                    </div>
                    <h3 class="font-medium mb-1">目标检测</h3>
                    <p class="text-xs text-dark-2 mb-3">适用于识别图像中的多个目标</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xs text-dark-2">YOLOv8</span>
                        <button class="text-primary text-sm font-medium">使用</button>
                    </div>
                </div>
                
                <!-- 模板2 -->
                <div class="border border-light-2 rounded-xl p-4 cursor-pointer hover:border-primary hover:bg-primary/5 transition-all-300 group">
                    <div class="w-10 h-10 rounded-lg bg-secondary/10 flex items-center justify-center mb-3 group-hover:bg-primary group-hover:text-white transition-all-300">
                        <i class="fa fa-th"></i>
                    </div>
                    <h3 class="font-medium mb-1">图像分类</h3>
                    <p class="text-xs text-dark-2 mb-3">适用于对图像进行分类识别</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xs text-dark-2">ResNet, MobileNet</span>
                        <button class="text-primary text-sm font-medium">使用</button>
                    </div>
                </div>
                
                <!-- 模板3 -->
                <div class="border border-light-2 rounded-xl p-4 cursor-pointer hover:border-primary hover:bg-primary/5 transition-all-300 group">
                    <div class="w-10 h-10 rounded-lg bg-success/10 flex items-center justify-center mb-3 group-hover:bg-primary group-hover:text-white transition-all-300">
                        <i class="fa fa-object-group"></i>
                    </div>
                    <h3 class="font-medium mb-1">图像分割</h3>
                    <p class="text-xs text-dark-2 mb-3">适用于像素级目标分割</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xs text-dark-2">Segment Anything</span>
                        <button class="text-primary text-sm font-medium">使用</button>
                    </div>
                </div>
                
                <!-- 模板4 -->
                <div class="border border-light-2 rounded-xl p-4 cursor-pointer hover:border-primary hover:bg-primary/5 transition-all-300 group">
                    <div class="w-10 h-10 rounded-lg bg-warning/10 flex items-center justify-center mb-3 group-hover:bg-primary group-hover:text-white transition-all-300">
                        <i class="fa fa-magic"></i>
                    </div>
                    <h3 class="font-medium mb-1">自定义任务</h3>
                    <p class="text-xs text-dark-2 mb-3">创建自定义的AI训练任务</p>
                    <div class="flex justify-between items-center">
                        <span class="text-xs text-dark-2">灵活配置</span>
                        <button class="text-primary text-sm font-medium">使用</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- JavaScript功能实现 -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 实现排序下拉菜单的样式
            const selectElements = document.querySelectorAll('select');
            selectElements.forEach(select => {
                const arrow = document.createElement('i');
                arrow.className = 'fa fa-angle-down absolute right-3 top-1/2 -translate-y-1/2 text-dark-2 pointer-events-none';
                select.parentNode.style.position = 'relative';
                select.parentNode.appendChild(arrow);
            });
            
            // 项目列表行悬停效果已通过CSS实现
            // 分页按钮交互效果
            const paginationButtons = document.querySelectorAll('.pagination button:not([disabled])');
            paginationButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // 在实际应用中，这里会处理分页逻辑
                    console.log('Pagination button clicked:', this.textContent.trim());
                });
            });
            
            // 模板卡片点击效果
            const templateCards = document.querySelectorAll('.grid-cols-1 .border');
            templateCards.forEach(card => {
                card.addEventListener('click', function(e) {
                    // 阻止按钮点击事件冒泡到卡片
                    if (e.target.tagName === 'BUTTON' || e.target.closest('button')) {
                        return;
                    }
                    // 在实际应用中，这里会处理模板选择逻辑
                    console.log('Template selected:', this.querySelector('h3').textContent);
                });
            });
        });
    </script>
</body>
</html>
    